Auto merge of #3068 - binarybirchtree:generalize-error-message, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 3 Sep 2016 17:29:20 +0000 (10:29 -0700)
committerGitHub <noreply@github.com>
Sat, 3 Sep 2016 17:29:20 +0000 (10:29 -0700)
commit3dd6327f0aefa93d7ac65e028fa38a5da3e71752
tree887658a9d4a9a1ec8730b0397f0f00dfa03d2193
parentb78beb15b1f9b74b3d8b382c09a74042dc95a601
parentee32e105e68a24068260f785de34b48934e6e7a3
Auto merge of #3068 - binarybirchtree:generalize-error-message, r=alexcrichton

Generalize error message used by both `cargo package` and `cargo publish`.

Resolves issue #3061.

This pull request updates the wording of the error message in question to be applicable to both `cargo package` and `cargo publish`, and adds a test case for the example in the issue description.